# Contributor: lauren n. liberda <lauren@selfisekai.rocks>
# Maintainer: lauren n. liberda <lauren@selfisekai.rocks>
pkgname=font-b612
pkgver=1.008
pkgrel=1
pkgdesc="Highly legible font family used on aircraft cockpit screens"
url="https://b612-font.com/"
arch="noarch"
license="OFL-1.1"
subpackages="$pkgname-mono"
options="!check"	# no test suite
source="https://github.com/polarsys/b612/archive/$pkgver/b612-$pkgver.tar.gz"
builddir="$srcdir/b612-$pkgver/fonts/ttf"

package() {
	install -Dm644 ./*.ttf -t "$pkgdir"/usr/share/fonts/b612
}

mono() {
	amove 'usr/share/fonts/b612/B612Mono*'
}

sha512sums="
977b7bc6f1a41243cce381ddd0a5db2853df21a738ddc86debfc13954653fbfcffaf1c869b6287ea20482cc10ad479934bf6b70edc1e14dc656a22b1b64c64f3  b612-1.008.tar.gz
"
